package com.dq.Mapper;

import com.dq.Pojo.Course;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CouMapper {

    List<Course> findAll(@Param("courseName") String courseName, @Param("startTime") String startTime);

    void add(Course course);

    void delete(Integer id);

    void update(Course course);

    List<Course> find();

    Course findByid(Integer id);

    List<Course> findstu(Integer id);
}
